$style: #e5373b;
#g-detail {
	background-color: #F9F9F9;
	.thumb {
		width: 100%;
		height: 750rpx;
		position: relative;
		.shop-swiper {
			width:100%;
			height: 100%;
			.wx-swiper-dot{
				width: 30rpx;
				height: 6rpx;
				border-radius: 3rpx;
			}
			.wx-swiper-dots-horizontal{
				bottom: 50rpx;
			}
			image {
				width: 100%;
				height: 100%;
			}
		}
		.act {
			height:72rpx;
			background-color: #ff4247;
			position: absolute;
			bottom: 0;
			left: 0;
			right: 0;
			z-index: 2;
			display: flex;
			justify-content: space-between;
			align-items: center;
			padding: 0 32rpx;
			.left {
				display: inline-flex;
				align-items: center;
				text {
					font-size: 28rpx;
					line-height:28rpx;
					color: #fff;
				}
				image {
					height:30rpx;
					margin-left:13rpx;
					display: block;
				}
			}
			.right {
				display: inline-flex;
				align-items: center;
				.text {
					color: #fff;
				}
				.time {
					min-width: 190rpx;
					margin-left:16rpx;
					display: inline-flex;
					align-items: center;
					justify-content: flex-end;
					view {
						display: inline-block;
						min-width:52rpx;
						height:32rpx;
						line-height:32rpx;
						background-color: #000;
						color: #fff;
						padding: 0 4rpx;
						font-size:28rpx;
						text-align: center;
						border-radius:4rpx;
					}
					text {
						font-size:28rpx;
						line-height:32rpx;
						color: #fff;
						margin: 0 4rpx;
					}
				}
			}
		}
	}
	.info {
		background-color: #fff;
		padding: 44rpx 30rpx;
		margin-bottom: 16rpx;
		.title {
			font-size: 36rpx;
			line-height: 46rpx;
			font-weight: bold;
			margin-bottom: 17rpx;
		}
		.content{
			font-size: 22rpx;
			color: #999999;
			line-height: 38rpx;
			margin-bottom: 50rpx;
			padding: 0;
		}
		.del {
			font-size: 24rpx;
			color: #999999;
			text{
				text-decoration: line-through;
			}
		}
		.p-s {
			display: flex;
			justify-content: space-between;
			align-items: flex-end;
			.right{
				display: flex;
				align-items: flex-end;
			}
			.label {
				display: inline-block;
				padding: 0 13rpx;
				height:36rpx;
				border-radius:8rpx;
				line-height:36rpx;
				color: #fff;
				background-color: #ff4246;
				font-size:24rpx;
				margin-right:12rpx;
			}
			.price {
				color: $style;
				font-size:28rpx;
				font-weight: bold;
				margin-right: 50rpx;
				position: relative;
				bottom: -2rpx;
				.price__price {
					position: relative;
					bottom: -4rpx;
				}
				text {
					font-size:40rpx;
					line-height:40rpx;
				}
				.h{
					font-weight: normal;
					font-size: 24rpx;
					color: #333333;
				}
			}
			.sale {
				flex-shrink: 0;
				margin-left: 8rpx;
				font-size: 24rpx;
				color: #666666;
			}
		}
	}
	.line {
		height: 80rpx;
		background-color: #fff;
		padding: 0 32rpx;
		display: flex;
		align-items: center;
		justify-content: space-between;
		.label {
			white-space: nowrap;
			width: 100rpx;
			flex-shrink: 0;
			font-size: 24rpx;
			color: #999;
		}
		.right {
			width: 100%;
			display: inline-flex;
			align-items: center;
			justify-content: space-between;
			.labels {
				width: 440rpx;
				overflow: hidden;
				view {
					display: inline-block;
					height:48rpx;
					line-height: 48rpx;
					border-radius:24rpx;
					padding: 0 20rpx;
					background-color: #ffebeb;
					color: $style;
					font-size: 24rpx;
				}
			}
			.text {
				font-size:24rpx;
			}
			.r-arrow {
				display: inline-flex;
				align-items: center;
				text {
					font-size: 24rpx;
					color: $style;
				}
				text {
					font-size: 24rpx;
					color: #ccc;
					margin-left:12rpx;
				}
			}
		}
	}
	.content {
		width: 100%;
		padding: 20rpx 0;
		background-color: #fff;
		image {
			width:100%;
			max-width: 100%;
		}
	}
	.fun-bar {
		width: 100%;
		height: calc(116rpx + constant(safe-area-inset-bottom));
		height: calc(116rpx + env(safe-area-inset-bottom));
		padding-bottom: constant(safe-area-inset-bottom);
		padding-bottom: env(safe-area-inset-bottom);
		background: #FFFFFF;
		display: inline-flex;
		box-shadow: 0rpx 7rpx 16rpx 0rpx rgba(0,0,0,0.2);
		align-items: center;
		justify-content: space-between;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 5;
		padding-left: 32rpx;
		padding-right: 32rpx;
		box-sizing: border-box;
		.left {
			display: flex;
			flex-shrink: 0;
			.item {
				display: block;
				width: 50%;
				text-align: center;
				background:transparent;
				& + .item{
					margin-left: 56rpx;
				}
				text {
					display: block;
					font-size:32rpx;
					line-height:32rpx;
					color: #666;
				}
				.item-icon{
					width: 42rpx;
					height: 42rpx;
				}
				view {
					text-align: center;
					font-size: 24rpx;
					line-height: 1;
					color: #333333;
					margin-top:10rpx;
					white-space: nowrap;
				}
				&.active {
					text {
						color: $style;
					}
				}
			}
		}
		.right {
			.btns {
				width: 100%;
				height: 100rpx;
				display: flex;
				align-items: center;
				.btn {
					width: 220rpx;
					text-align: center;
					line-height: 90rpx;
					background: #F65C28;
					color: #fff;
					border-radius: 10rpx;
					&.cart {
						border: 1px solid #F65C28;
						background-color: #fff;
						color: #F65C28;
					}
					&.buy {
						margin-left: 24rpx;
					}
				}
			}
			.long {
				// display: block;
				width: 510rpx;
				height: 80rpx;
				margin-right: 32rpx;
				border-radius: 40rpx;
				color: #fff;
				background-image: linear-gradient(to right, #ee4246, #ef393b);
				box-shadow: 0 10rpx 10rpx rgba(238, 67, 70, 0.3);
				display: flex;
				align-items: center;
				justify-content: space-between;
				.price {
					width: 100%;
					text-align: center;
				}
				.center-i{
					display: block;
					width:1rpx;
					height: 37rpx;
					background-color: #cf2b2e;
					transform: rotate(30deg);
					flex-shrink: 0;
				}
				.btn {
					width: 100%;
					text-align: center;
				}
			}
		}
	}
	.fun-bar-h {
		width: 100%;
		height: 100rpx;
	}
	.mask {
		display: none;
		position: fixed;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 5;
		background-color: rgba(0, 0, 0, 0.5);
		&.mask-show{
			display:block;
		}
	}
	.sku-modal {
		max-height:819rpx;
		background-color: #fff;
		border-radius: 16rpx 16rpx 0 0;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 6;
		padding: 32rpx 32rpx;
		// padding-bottom: constant(safe-area-inset-bottom);
		// padding-bottom: env(safe-area-inset-bottom);
		transform: translateY(100%);
		transition: all 0.3s;
		&.open {
			transform: translateY(0);
		}
		.goods {
			width: 100%;
			display: flex;
			align-items: center;
			padding-bottom: 32rpx;
			border-bottom: 1px solid #f0f0f0;
			.img {
				width: 164rpx;
				height: 164rpx;
				border-radius: 8rpx;
				overflow: hidden;
				flex-shrink: 0;
				image {
					width: 100%;
					height: 100%;
				}
			}
			.text {
				width: 100%;
				margin-left: 24rpx;
				.prices {
					width: 100%;
					.price {
						display: inline-block;
						font-size: 20rpx;
						color: $style;
						text {
							font-size: 40rpx;
							line-height:40rpx;
						}
					}
					.del {
						display: inline-block;
						font-size: 24rpx;
						color: #999;
						margin-left: 10rpx;
						text-decoration: line-through;
					}
				}
				.stock {
					font-size:24rpx;
					color: #999;
					margin-top:18rpx;
				}
				.ed {
					font-size:24rpx;
					color: #999;
					margin-top:4rpx;
				}
			}
		}
		.scroll {
			width: 100%;
			padding:20px 0;
			max-height: 454rpx;
			overflow-y: auto;
			&::-webkit-scrollbar {
				display: none;
			}
		}
		.sku-item {
			width: 100%;
			margin-top:26rpx;
			.title {
				font-size:28rpx;
			}
			.items {
				width: 100%;
				overflow: hidden;
				view {
					display: inline-flex;
					align-items: center;
					justify-content: center;
					padding: 0 36rpx;
					margin-top: 20rpx;
					margin-right: 20rpx;
					height:48rpx;
					border-radius: 24rpx;
					background-color: #f0f0f0;
					border: 1px solid #f0f0f0;
					font-size: 28rpx;
					&.active {
						background-color: #ffebeb;
						border: 1px solid #f5a3a5;
						color: $style;
					}
				}
			}
		}
		.close {
			display: block;
			width:24rpx;
			line-height:24rpx;
			position: absolute;
			top: 40rpx;
			right:32rpx;
			text {
				font-size:24rpx;
				line-height:32rpx;
			}
		}
		.quantity {
			width: 100%;
			margin-top: 24rpx;
			margin-bottom:24rpx;
			display: flex;
			justify-content: space-between;
			align-items: center;
			.title {
				white-space: nowrap;
			}
		}
		.btns {
			width: 100%;
			height: 100rpx;
			display: flex;
			align-items: center;
			justify-content: space-between;
			border-top: 1px solid #f0f0f0;
			padding-top:30rpx;
			.btn {
				display: flex;
				align-items: center;
				justify-content: center;
				width: 335rpx;
				height:80rpx;
				border-radius: 40rpx;
				font-size:28rpx;
				&.cart {
					border: 1px solid #e5a3a5;
					color: $style;
				}
				&.buy {
					background-color: #ee4346;
					color: #fff;
					box-shadow: 0 10rpx 10rpx rgba(238, 67, 70, 0.3);
				}
			}
		}
	}
	.coupon-modal {
		height: 754rpx;
		background-color: #fff;
		border-radius: 16rpx 16rpx 0 0;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 6;
		padding: 32rpx 32rpx 0;
		transform: translateY(100%);
		transition: all 0.3s;
		&.open {
			transform: translateY(0);
		}
		.mod {
			font-size: 32rpx;
			width: 100%;
			height: 48rpx;
			line-height: 48rpx;
			text-align: center;
		}
		.list {
			width: 100%;
			height: 650rpx;
			margin-top: 24rpx;
			overflow-y: auto;
			.item {
				width: 686rpx;
				height: 186rpx;
				margin-bottom: 24rpx;
				position:relative;
				.coupon-background{
					position:absolute;
					top:0;
					left:0;
					right:0;
					bottom:0;
					image{
						width:100%;
						height:100%;
					}
				}
				.tops {
					position:absolute;
					display: flex;
					width: 686rpx;
					height: 186rpx;
					.left {
						width: 482rpx;
						padding: 42rpx 32rpx;
						.discount {
							font-size: 32rpx;
							font-weight: bold;
							color: #4f442f;
						}
						.date {
							background-color: #edd5b2;
							height: 40rpx;
							border-radius: 20rpx;
							padding: 0 16rpx;
							margin-top: 4rpx;
							font-size: 22rpx;
							line-height:40rpx;
						}
					}
					.right {
						width: 204rpx;
						padding: 36rpx 10rpx;
						text-align: center;
						.price {
							font-size: 28rpx;
							color: $style;
							text {
								font-size: 48rpx;
								line-height: 48rpx;
								font-weight: bold;
								// font-family: 'Myriad Pro';
							}
						}
						.btn {
							display: block;
							width: 160rpx;
							height: 48rpx;
							border-radius: 24rpx;
							background-color: #413621;
							color: #fbdfac;
							font-size: 24rpx;
							line-height: 48rpx;
							text-align: center;
							margin: 0 auto;
							&.disabled {
								opacity: 0.5;
							}
						}
					}
				}
			}
		}
		.close {
			display: block;
			width: 24rpx;
			line-height: 24rpx;
			position: absolute;
			top: 40rpx;
			right:32rpx;
			text {
				font-size: 24rpx;
				line-height:32rpx;
			}
		}
	}
}